pyinstaller --clean --debug=all --hidden-import=pkg_resources --hidden-import=importlib_resources --hidden-import asyncio -F -w -i "%cd%\icon.ico" --add-data="icon.ico;." --version-file=version.txt main.py